package com.zhixi.service;

import com.zhixi.common.R;
import com.zhixi.pojo.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author zhangzhixi
* @description 针对表【shopping_cart(购物车)】的数据库操作Service
* @createDate 2022-07-14 17:45:27
*/
public interface ShoppingCartService extends IService<ShoppingCart> {

    /**
     * 删除购物车中的菜品或者套餐
     * @param shoppingCart 购物车对象
     * @return R，是否删除成功
     */
    R<ShoppingCart> delShoppingCart(ShoppingCart shoppingCart);
}
